﻿@using Resources
@model FindArtInfo.Models.PageMonogramSearchModel
@{
    ViewBag.Title = "Search for monograms";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm("Search", "Monogram", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    <table border="0" width="100%" id="table5" cellspacing="0" cellpadding="0">
        <tr><td align="left" valign="top">&nbsp;</td></tr>
        <tr>
            <td align="left" valign="top">
                <h1 class="underline">@Multi.PageMonogramSearchTitle</h1>
                <p class="below" align="right">
                </p>
                @Html.Raw(Multi.PageMonogramSearchMessage)               
                <p>
                    &nbsp;
                    @Html.TextBoxFor(m => m.KeyWord)                    
                    &nbsp;
                    <input type="submit" onmouseover="co(this, 'in');" onmouseout=" co(this, 'out');" class="knap" value="@Multi.PageMonogramSearchSubmit">
                    &nbsp;
                    @Html.ValidationMessageFor(m=>m.KeyWord)
                </p>                        
                @Html.ActionLink(Multi.PageMonogramSearchHelp, null, null, new { @onclick = "NewWindow('/Monogram/Help',480,600);", @href ="#"})
                <p></p>
                <p>&nbsp;</p>
            </td>
        </tr>
        <tr><td align="left" valign="top">&nbsp;</td></tr>
    </table>
}
<script>
    function NewWindow(url, width, height) {
        var Win = window.open(url, "NewWindow", 'width=' + width + ',height=' + height + ',resizeable=0,scrollbars=0');
    }
</script>
